package jian.testcase.definition.impl;

import jian.testcase.definition.TestCaseAbstract;
import jian.testcase.definition.TestCaseAnnotation;

public class UserTest extends TestCaseAbstract {

	@Override
	public String getDesc() {
		return "用户属性";
	}

	@TestCaseAnnotation(desc = "增加金币值")
	public boolean testAddCoins(String... args) {
		System.err.println("调用 UserTest.testAddCoins");
		for (String arg : args) {
			System.out.printf(arg + "\t");
		}
		return true;
	}

	@TestCaseAnnotation(desc = "增加经验值", paramsDesc = "Param_1:UserId, Param_2：Exp")
	public boolean testAddExp(String... args) {
		System.err.printf("将给【%s】添加经验值:【%s】", args[0], args[1]);
		return true;
	}

}
